package org.cupk2.auth.service;

import org.cupk2.auth.domain.DicEntity;
import org.cupk2.tools.db.DataQuery;
import org.cupk2.tools.db.DataResult;

import java.util.List;

/**数据字典 
 */
public interface DicEntityServiceInter {

    public DicEntity insertDicEntityEntity(DicEntity dicEntity);

    public DicEntity editDicEntityEntity(DicEntity dicEntity);

    public void delDicEntity(String id);

    public DicEntity getDicEntityById(String id);

    public List<DicEntity> getDicEntitys(DataQuery query);

    public DataResult searchDicEntity(DataQuery query);

    public int getDicEntityNum(DataQuery query);
    
    public int getNum(DataQuery query);
    /*[tree：树形结构使用]
    public void moveTreeNode(List<String> ids, String id);
    
    void autoSort(List<String> ids);
    */
}
